{% extends "base.html" %}{% load i18n %} 
{% block title %}{% trans "Create an account" %}{% endblock %} 
{% block content %}
<h1>
	{% trans "Create an account" %}
</h1>
<form action="." method="post">
	{% if form.error_dict %}
	<p class="error">
		{% trans "Please correct the errors below." %} {{form.error_dict}}
	</p>
	{% endif %}
	<br />
	<table>
		<tr>
			<td>
				<label for="id_username">
					{% trans "user Username:" %}
				</label>
			</td>
			<td>
				{{ form.username }}
			</td>
			<td>
				{% if form.username.errors %} {{form.username.errors.0}} {% endif %}
			</td>
		</tr>
		<tr>
			<td>
				<label for="id_password1">
					{% trans "user Password:" %}
				</label>
			</td>
			<td>
				{{ form.password1 }}
			</td>
			<td>
				{% if form.password1.errors %} {{form.password1.errors.0}} {% endif %}
			</td>
		</tr>

		<tr>
			<td>
				<label for="id_password2">
					{% trans "Password (again):" %}
				</label>
			</td>
			<td>
				{{ form.password2 }}
			</td>
			<td>
				{% if form.password2.errors %} {{form.password2.errors.0}} {% endif %}
			</td>
		</tr>
		<tr>
			<td>
				<label for="id_nickname:">
					{% trans "nickname:" %}
				</label>
			</td>
			<td>
				{{ form.nickname }}
			</td>
			<td>
				{% if form.nickname.errors %} {{form.nickname.errors.0}} {% endif %}
			</td>
		</tr>

		<tr>
			<td>
				<label for="id_email:">
					{% trans "user email:" %}
				</label>
			</td>
			<td>
				{{ form.email }}
			</td>
			<td>
				{% if form.email.errors %} {{form.email.errors.0}} {% endif %}
			</td>
		</tr>


		<tr>
			<td>
				<label for="id_userFlag:">
					{% trans "userFlag:" %}
				</label>
			</td>
			<td>
				{{ form.userFlag }}
			</td>
			<td>
				{% if form.userFlag.errors %} {{form.userFlag.errors.0}} {% endif %}
			</td>
		</tr>
	</table>
	<input type="submit" value="{% trans "Create the account" %}" />
	</label>
</form>
{% endblock %}
